package com.alks.function.data.vo.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: chen
 * @date: 2025/1/3
 * @description: 文件生成状态信息
 */
@Data
@ApiModel(value = "文件生成状态信息")
public class FileGenerateInfoVO {

    @ApiModelProperty(value = "是否发生变化")
    private Boolean change = false;

    @ApiModelProperty(value = "是否关闭连接")
    private Boolean close = false;

    public static FileGenerateInfoVO onClose() {
        FileGenerateInfoVO vo = new FileGenerateInfoVO();
        vo.setClose(true);
        return vo;
    }
}
